<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"
	xmlns:pm="http://primefaces.org/mobile" contentType="text/html" renderKitId="PRIMEFACES_MOBILE">
	<pm:page title="Food Details" loadingMessage="Loading">
		<pm:view id="loginView">
			<pm:header title="Cooker" swatch="b">
				<f:facet name="left">
					<p:commandLink value="Back" icon="back" action="#{cCookerAction.goBack()}" />
				</f:facet>
				<f:facet name="right">
					<p:commandLink value="Logout" icon="back" action="#{cCookerAction.logout()}" />
				</f:facet>
			</pm:header>
			<pm:content>
				<h:form id="myForm">
					<p:panel header="Details">
						<h:panelGrid columns="2">
							<h:outputLabel value="Food : " for="food" />
							<h:outputText value="#{cCookerForm.foodName}" id="food" />

							<h:outputLabel value="Description : " for="desc" />
							<h:outputText value="#{cCookerForm.description}" id="desc" />
						</h:panelGrid>
					</p:panel>
				</h:form>
			</pm:content>
		</pm:view>
	</pm:page>
</f:view>